package com.aiyan.edu.framework.domain.gateway;

import lombok.Data;
import lombok.ToString;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author: zqzhou
 * @create: 2019/12/01 17:09
 **/
@Data
@ToString
@Entity
@Table(name = "gw_service")
@GenericGenerator(name = "jpa-uuid", strategy = "uuid")
public class GwService implements Serializable {
    private static final long serialVersionUID = 9089707486511747157L;

    @Id
    @GeneratedValue(generator = "jpa-uuid")
    @Column(length = 32)
    private String id;
}
